<%
    String pag= request.getParameter("page");
    if (pag == null) {
        %><jsp:include flush="true" page="works.jsp"></jsp:include><%
    }else{
        String p = pag+".jsp";
        %><jsp:include flush="true" page="<%=p%>"></jsp:include><%   
    }
%>